﻿<Page x:Class="ProSOLD.testtt"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="testtt">
    <Grid Height="352.971" Width="554.449">
        <Grid>
            <MediaElement Margin="10,10,0,6" Name="mediaElement1" Source="C:\Users\Haluk\Documents\Visual Studio 2008\Projects\nemesis_XS\ProSOLD\media\Movie.wmv" LoadedBehavior="Play" />
            <Border Grid.Row="1" BorderBrush="DarkGray" BorderThickness="1" CornerRadius="2">
                <Rectangle VerticalAlignment="Stretch" Stretch="Uniform">
                    <Rectangle.Fill>
                        <VisualBrush Visual="{Binding ElementName=video}">
                            <VisualBrush.RelativeTransform>
                                <ScaleTransform ScaleY="-1" CenterY="0.5"></ScaleTransform>
                            </VisualBrush.RelativeTransform>
                        </VisualBrush>
                    </Rectangle.Fill>
                    <Rectangle.OpacityMask>
                        <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
                            <GradientStop Color="Black" Offset="0"></GradientStop>
                            <GradientStop Color="Transparent" Offset="0.6"></GradientStop>
                        </LinearGradientBrush>
                    </Rectangle.OpacityMask>
                </Rectangle>
            </Border>

        </Grid>
    </Grid>
</Page>
